proper func in openoffice calc